﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Inventor.Master" AutoEventWireup="true" CodeBehind="regedit.aspx.cs" Inherits="HospitalSystem.regedit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div class="nav askquestion">
    <ul>
        <li>
            <a id="nav-askquestion"  href="checkmember.aspx">Next Step ></a>
        </li>
    </ul>
</div>
    <div id="sidebar">
					<ul>
						<li>
							<h2>ลงทะเบียนเด็ก</h2>
							<ul>
							
							   <li><a href="findchild.aspx">ค้นหา,ลงทะเบียนข้อมูลเด็ก</a></li>
								<li id="menu-item-7" class="menu-item menu-item-type-post_type current-menu-item page_item page-item-2 current_page_item current_page_parent menu-item-7"><a href="ChildDetails.aspx">ข้อมูลส่วนตัว</a></li>
                                
                                 <li><a href="checkmember.aspx">ข้อมูลครอบครัว</a></li>
                                                          <li><a href="checkhealth.aspx">ข้อมูลด้านสุขภาพ</a></li>
                                <li><a href="checkedu.aspx">ข้อมูลด้านการศึกษา</a></li>
                                <li><a href="checkrights.aspx">ข้อมูลสิทธิ</a></li>
							
							</ul>
						</li>
					</ul>
				</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
       
        
    
        <h2>
            <asp:Label ID="reg_label" runat="server" Text="ลงทะเบียนเด็กใหม่" 
                CssClass="style50"></asp:Label>
            <br />

             <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
        </h2>
    
        
    
        <br />
        <br />
                        <asp:Label ID="RecordedStaffID" runat="server" Text="saffid" 
            Visible="False"></asp:Label>
        <br />
        <asp:Label ID="cid_label" runat="server" Text="Label" Visible="False"></asp:Label>
        <br />
    
  
            <table class="style2">
                <tr>
                    <td class="style46" rowspan="3">&nbsp;</td>
             
                    <td class="style3" colspan="4">
                        <h2 class="style41">
                            ข้อมูลส่วนบุคคล</h2>
                    </td>
                </tr>
                <tr>
                    <td class="style15">
                        <asp:DropDownList ID="Titles" runat="server">
                            <asp:ListItem>ด.ช.</asp:ListItem>
                            <asp:ListItem>ด.ญ.</asp:ListItem>
                            <asp:ListItem>นาย</asp:ListItem>
                            <asp:ListItem>นาง</asp:ListItem>
                            <asp:ListItem>นางสาว</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style17">
                        <asp:TextBox ID="FirstName" runat="server" Width="150px"  
                            ></asp:TextBox>
                    </td>
                    <td class="style37">
                        นามสกุล</td>
                    <td class="style16">
                        <asp:TextBox ID="LastName" runat="server" Width="150px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style25">
                        เลขประจำตัวประชาชน</td>
                    <td class="style25" colspan="2">
                        <asp:TextBox ID="CID" runat="server" Width="150px" MaxLength="13" 
                            AutoPostBack="True" ontextchanged="CID_TextChanged" ReadOnly="True"></asp:TextBox>
                        &nbsp;
                        </td>
                    <td class="style25">
                        <asp:Label ID="CIDlabel" runat="server" Text="Label" Visible="False"></asp:Label>
                        &nbsp;<asp:Label ID="CIDST" runat="server"></asp:Label>
                        </td>
                </tr>
      
        <table class="style2">
               
                <tr>
                    <td class="style46" rowspan="4">&nbsp;</td>
             
                    <td class="style12">
                        วันเดือนปีเกิด</td>
                    <td class="style7" colspan="2">
                        <asp:TextBox ID="birthday" runat="server" Width="149px"></asp:TextBox>
                        &nbsp;<asp:ImageButton ID="BDIB" runat="server" ImageUrl="~/img/cal.png" 
                            onclick="BDIB_Click" />
                        <asp:Calendar ID="BDCal" runat="server" 
                            onselectionchanged="BDCal_SelectionChanged" Visible="False"></asp:Calendar>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style12">
                        เพศ</td>
                    <td class="style34">
                        <asp:RadioButtonList ID="Gender" runat="server">
                            <asp:ListItem>ชาย</asp:ListItem>
                            <asp:ListItem>หญิง</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                      <td class="style49">
                          หมู่เลือด</td>
                    <td class="style7">
                        <asp:RadioButtonList ID="BloodType" runat="server">
                            <asp:ListItem>A</asp:ListItem>
                            <asp:ListItem>B</asp:ListItem>
                            <asp:ListItem>AB</asp:ListItem>
                            <asp:ListItem>O</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    
                  
                </tr>
                <tr>
                    <td class="style12">
                        เชื้อชาติ</td>
                    <td class="style34">
                        <asp:TextBox ID="Race" runat="server" Width="150px"></asp:TextBox>
                    </td>
                    <td class="style49">
                        สัญชาติ</td>
                    <td class="style7">
                        <asp:TextBox ID="Nation" runat="server" Width="150px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style12">
                        ศาสนา</td>
                    <td class="style34">
                        <asp:TextBox ID="Religion" runat="server" Width="150px"></asp:TextBox>
                    </td>
                    <td class="style49">
                        รหัสความเป็นต่างด้าว</td>
                    <td class="style7">
                        <asp:TextBox ID="Foreigner" runat="server" Width="150px"></asp:TextBox>
                    </td>
                    <td class="style12">
                        ระดับการศึกษา</td>
                    <td class="style34">
                        <asp:DropDownList ID="EducationStatus" runat="server">
                            <asp:ListItem>มัธยมศึกษา</asp:ListItem>
                            <asp:ListItem>ประถมศึกษา</asp:ListItem>
                            <asp:ListItem>อนุปริญญา</asp:ListItem>
                            <asp:ListItem>ปริญญาตรีหรือสูงกว่า</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style38">
                        &nbsp;</td>
                    <td class="style7">
                        &nbsp;</td>
                </tr>
            </table>
 

                   <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                            <ContentTemplate>

            <table class="style2">
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28" colspan="2">
                        <h1>
                            ที่อยู่ตามทะเบียนบ้าน</h1>
                    </td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        บ้านเลขที่</td>
                    <td class="style33">
                        <asp:TextBox ID="CensusStreetAddress" runat="server"></asp:TextBox>
                    </td>
                    <td class="style40">
                        หมู่ที่</td>
                    <td class="style26">
                        <asp:TextBox ID="CensusHouseMoo" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        ชื่อบ้าน</td>
                    <td class="style33">
                        <asp:TextBox ID="CensusHouseName" runat="server" Height="22px" Width="128px"></asp:TextBox>
                    </td>
                    <td class="style40">
                        ตรอกซอย</td>
                    <td class="style26">
                        <asp:TextBox ID="CensusHousesoy" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        ตำบล</td>
                    <td class="style33">
                        <asp:TextBox ID="Censustumbon" runat="server"></asp:TextBox>
                    </td>
                    <td class="style40">
                        ถนน</td>
                    <td class="style26">
                        <asp:TextBox ID="CensusStreetName" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        อำเภอ</td>
                    <td class="style33">
                        <asp:TextBox ID="CensusCity" runat="server"></asp:TextBox>
                    </td>
                    <td class="style40">
                        จังหวัด</td>
                    <td class="style26">
                        <asp:TextBox ID="CensusProvince" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        รหัสไปรษณีย์</td>
                    <td class="style33">
                        <asp:TextBox ID="CensusPostcode" runat="server" Width="150px"></asp:TextBox>
                    </td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        </td>
                    <td class="style48">
                        </td>
                    <td class="style25">
                        โทรศัพท์บ้าน</td>
                    <td class="style33">
                        <asp:TextBox ID="HomePhone" runat="server" Width="150px"></asp:TextBox>
                    </td>
                    <td class="style40">
                        มือถือ</td>
                    <td class="style25">
                        <asp:TextBox ID="Mobile" runat="server" Width="150px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style25">
                        วันย้ายเข้า</td>
                    <td class="style33">
                        <asp:TextBox ID="CensusMoveInDate2" runat="server"></asp:TextBox>
                        <asp:ImageButton ID="CMIDIB" runat="server" ImageUrl="~/img/cal.png" 
                            onclick="CMIDIB_Click" />
                        <asp:Calendar ID="CMIDCal" runat="server" 
                            onselectionchanged="CMIDCal_SelectionChanged" Visible="False">
                        </asp:Calendar>
                    </td>
                    <td class="style40">
                        วันย้ายออก</td>
                    <td class="style25">
                        <asp:TextBox ID="CensusMoveOutDate2" runat="server"></asp:TextBox>
                        <asp:ImageButton ID="CMODIB" runat="server" ImageUrl="~/img/cal.png" 
                            onclick="CMODIB_Click" />
                        <asp:Calendar ID="CMODCal" runat="server" 
                            onselectionchanged="CMODCal_SelectionChanged" Visible="False">
                        </asp:Calendar>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style25" colspan="2">
                        สาเหตุการย้ายออก</td>
                    <td class="style40">
                        <asp:RadioButtonList ID="CensusMoveOutReason" runat="server">
                                   <asp:ListItem Value="1">ตาย</asp:ListItem>
                            <asp:ListItem Value="2">ย้าย</asp:ListItem>
                            <asp:ListItem Value="3">สาบสูญ</asp:ListItem>
                            <asp:ListItem Value="0">ไม่มี</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    <td class="style25">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style25" colspan="2">
                        &nbsp;</td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style25">
                        &nbsp;</td>
                </tr>

                
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style25" colspan="2">
                        &nbsp;</td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style25">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style25" colspan="2">
                        <asp:RadioButton ID="RadioButton1" GroupName="1" AutoPostBack="True" runat="server" 
                            oncheckedchanged="RadioButton1_CheckedChanged" />
                        &nbsp;ใช้ที่อยู่ตามทะเบียนบ้าน</td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style25">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style19">
                        &nbsp;</td>
                    <td class="style47">
                        &nbsp;</td>
                    <td class="style12" colspan="3">
                        <h1>
                            ที่อยู่ปัจจุบัน</h1>
                    </td>
                    <td class="style12">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        </td>
                    <td class="style48">
                        </td>
                    <td class="style25" colspan="3">
                        <asp:DropDownList ID="LiveHomeStatus" runat="server">
                            <asp:ListItem>ไม่มีที่อยู่</asp:ListItem>
                            <asp:ListItem>บ้านพ่อแม่</asp:ListItem>
                            <asp:ListItem>บ้านญาติ</asp:ListItem>
                            <asp:ListItem>บ้านนายจ้าง</asp:ListItem>
                            <asp:ListItem>อื่นๆ</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style25">
                        </td>
                </tr>
                <tr>
                    <td class="style19">
                        &nbsp;</td>
                    <td class="style47">
                        &nbsp;</td>
                    <td class="style22">
                        บ้านเลขที่</td>
                    <td class="style32">
                        <asp:TextBox ID="LiveStreetAddress" runat="server"></asp:TextBox>
                    </td>
                    <td class="style39">
                        หมู่ที่</td>
                    <td>
                        <asp:TextBox ID="LiveHouseMoo" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style19">
                        &nbsp;</td>
                    <td class="style47">
                        &nbsp;</td>
                    <td class="style22">
                        ชื่อบ้าน</td>
                    <td class="style32">
                        <asp:TextBox ID="LiveHouseName" runat="server"></asp:TextBox>
                    </td>
                    <td class="style39">
                        ตรอกซอย</td>
                    <td>
                        <asp:TextBox ID="LiveHousesoy" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style19">
                        &nbsp;</td>
                    <td class="style47">
                        &nbsp;</td>
                    <td class="style22">
                        ตำบล</td>
                    <td class="style32">
                        <asp:TextBox ID="Livetumbon" runat="server"></asp:TextBox>
                    </td>
                    <td class="style39">
                        ถนน</td>
                    <td>
                        <asp:TextBox ID="LiveStreetName" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style19">
                        &nbsp;</td>
                    <td class="style47">
                        &nbsp;</td>
                    <td class="style22">
                        อำเภอ</td>
                    <td class="style32">
                        <asp:TextBox ID="LiveCity" runat="server"></asp:TextBox>
                    </td>
                    <td class="style39">
                        จังหวัด</td>
                    <td>
                        <asp:TextBox ID="LiveProvince" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        </td>
                    <td class="style48">
                        </td>
                    <td class="style25">
                        รหัสไปรษณีย์</td>
                    <td class="style33">
                        <asp:TextBox ID="LivePostcode" runat="server"></asp:TextBox>
                    </td>
                    <td class="style40">
                        </td>
                    <td class="style25">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        วันย้ายเข้า</td>
                    <td class="style33">
                        <asp:TextBox ID="LiveMoveInDate2" runat="server"></asp:TextBox>
                        <asp:ImageButton ID="LMIDIB" runat="server" ImageUrl="~/img/cal.png" 
                            onclick="LMIDIB_Click" />
                        <asp:Calendar ID="LMIDCal" runat="server" 
                            onselectionchanged="LMIDCal_SelectionChanged" Visible="False" 
                            NextPrevFormat="ShortMonth" ShowGridLines="True">
                        </asp:Calendar>
                    </td>
                    <td class="style40">
                        วันย้ายออก</td>
                    <td class="style26">
                        <asp:TextBox ID="LiveMoveOutDate2" runat="server"></asp:TextBox>
                        <asp:ImageButton ID="LMODIB" runat="server" ImageUrl="~/img/cal.png" 
                            onclick="LMODIB_Click" />
                        <asp:Calendar ID="LMODCal" runat="server" 
                            onselectionchanged="LMODCal_SelectionChanged" Visible="False">
                        </asp:Calendar>
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28" colspan="2">
                        สาเหตุการย้ายออก</td>
                    <td class="style40">
                        <asp:RadioButtonList ID="LiveMoveOutReason" runat="server">
                            <asp:ListItem Value="1">ตาย</asp:ListItem>
                            <asp:ListItem Value="2">ย้าย</asp:ListItem>
                            <asp:ListItem Value="3">สาบสูญ</asp:ListItem>
                            <asp:ListItem Value="0">ไม่มี</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style25" colspan="2">
                        ประเภทความพิการ
                        <asp:DropDownList ID="DisabilityType" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style25">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        </td>
                    <td class="style48">
                        </td>
                    <td class="style25" colspan="2">
                        <strong>เลือกรูปประจำตัวเด็ก</strong></td>
                    <td class="style40">
                        </td>
                    <td class="style25">
                        </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style25" colspan="2">
                      
                         
                                <asp:FileUpload ID="FL" runat="server" />
                        
                    
                    </td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style25">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28" colspan="2">
                        <strong>เลือกรูปจากบัตรประชาชน</strong></td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28" colspan="2">
                        <asp:FileUpload ID="FileUploadercid" runat="server" />
                    </td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        &nbsp;</td>
                    <td class="style33">
                        &nbsp;</td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        <asp:Button ID="edit_reg" runat="server" Text="ตกลง" onclick="edit_reg_Click" />
                    </td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        &nbsp;</td>
                    <td class="style33">
                        &nbsp;</td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style28">
                        &nbsp;</td>
                    <td class="style42">
                        &nbsp;</td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style27">
                        &nbsp;</td>
                    <td class="style48">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                    <td class="style33">
                        &nbsp;</td>
                    <td class="style40">
                        &nbsp;</td>
                    <td class="style26">
                        &nbsp;</td>
                </tr>
                 </ContentTemplate>
    </asp:UpdatePanel>    
            </table>
          
            <br />
        





        </asp:Content>
<asp:Content ID="Content3" runat="server" contentplaceholderid="head">
    <style type="text/css">
        .style2
        {
            width: 100%;
        }
        .style3
        {
            height: 21px;
        }
        .style7
        {
        }
        .style12
        {
        }
        .style15
        {
            width: 139px;
            height: 28px;
        }
        .style16
        {
            height: 28px;
            margin-left: 40px;
        }
        .style17
        {
            height: 28px;
            width: 218px;
        }
        .style19
        {
            width: 193px;
        }
        .style22
        {
            width: 76px;
        }
        .style25
        {
            height: 26px;
        }
        .style26
        {
            height: 26px;
        }
        .style27
        {
            width: 193px;
            height: 26px;
        }
        .style28
        {
            height: 26px;
        }
        .style32
        {
            width: 272px;
        }
        .style33
        {
            width: 272px;
            height: 26px;
        }
        .style34
        {
            width: 218px;
        }
        .style37
        {
            width: 237px;
            height: 28px;
        }
        .style38
        {
            width: 179px;
        }
        .style39
        {
            width: 185px;
        }
        .style40
        {
            width: 185px;
            height: 26px;
        }
        .style41
        {
            font-family: AngsanaUPC;
            font-size: medium;
            color: #FF0066;
        }
        .style42
        {
            width: 272px;
            height: 26px;
            font-family: AngsanaUPC;
            font-size: x-large;
            color: #33CCFF;
        }
        .style46
        {
            width: 55px;
        }
        .style47
        {
            width: 181px;
        }
        .style48
        {
            height: 26px;
            width: 181px;
        }
        .style49
        {
            width: 237px;
        }
    .style50
    {
        font-size: large;
        color: #FF0066;
    }
    </style>
</asp:Content>


